package com.ruyuan.eshop.construction.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruyuan.eshop.construction.domain.dto.FrontCategoryTreeDTO;
import com.ruyuan.eshop.construction.domain.entity.FrontCategoryDO;
import com.ruyuan.eshop.construction.domain.entity.FrontCategoryTreeDO;
import com.ruyuan.eshop.construction.domain.request.QueryCategoryRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
 * @author zhonghuashishan
 */
@Mapper
public interface FrontCategoryMapper extends BaseMapper<FrontCategoryDO> {

    /**
     * 查询类目树
     *
     * @param queryCategoryRequest
     * @return java.util.List<com.ruyuan.eshop.construction.domain.dto.FrontCategoryTreeDTO>
     * @author zhonghuashishan
     */
    List<FrontCategoryTreeDO> selectTree(QueryCategoryRequest queryCategoryRequest);
}